<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>增加读者信息</title>
</head>
<body>
<table border="1" class="list">
    <tr>
        <td>读者编号</td>
        <td>读者姓名</td>
        <td>读者性别</td>
        <td>条形码</td>
        <td>读者类型</td>
        <td>出生日期</td>
        <td>证件类型</td>
        <td>证件号码</td>
        <td>电话</td>
        <td>Email地址</td>
        <td>录入时间</td>
        <td>操作员</td>
        <td>备注</td>
        <td>读者类型编号</td>
    </tr>
    <tr th:each="readerInformation : ${readerInformationList}">
        <td th:text="${readerInformation.id}"></td>
        <td th:text="${readerInformation.name}"></td>
        <td th:text="${readerInformation.sex}"></td>
        <td th:text="${readerInformation.barcode}"></td>
        <td th:text="${readerInformation.vocation}"></td>
        <td th:text="${readerInformation.birthday}"></td>
        <td th:text="${readerInformation.paperType}"></td>
        <td th:text="${readerInformation.paperNO}"></td>
        <td th:text="${readerInformation.tel}"></td>
        <td th:text="${readerInformation.email}"></td>
        <td th:text="${readerInformation.createDate}"></td>
        <td th:text="${readerInformation.operator}"></td>
        <td th:text="${readerInformation.remark}"></td>
        <td th:text="${readerInformation.typeid}"></td>
        <td>
            <form action="readerinformationupdate" method="post">
                <button name="id" th:value="${readerInformation.id}" type="submit">修改</button>
            </form>
        </td>
        <td>
            <form action="readerinformationdelete" method="post">
                <button name="id" th:value="${readerInformation.id}" type="submit">删除</button>
            </form>
        </td>
    </tr>
</table>
<button><a href="ReaderInformationAdd.html">增加读者信息</a></button>
<button><a href="Jump.html" target="left">返回主界面</a></button>
</body>
</html>